<template>
    <view class="bg-content">
        <div style="background-color: white;">
            <u-cell-item :arrow="true" use-label-slot :title-style="{'width': '100%'}" v-for="(item, index) in tbFaqList" :key="item.id"
                         @click="navigateTo(`/pages/sub/sub1-tabs/tabs/person/faq/faq-detail/index`, null, item)">
                <div slot="icon">
                </div>
                <div slot="title" style="padding-left: 10px;">
                    {{item.title}}
                </div>
                <div slot="label">
                </div>
                <div slot="right-icon">
                </div>
                <!--默认value属性-->
                <div>
                </div>
            </u-cell-item>
        </div>
    </view>
</template>

<script>

    import {TbFaqService} from "@/dev/services/tb-faq.service";

    export default {
        data() {
            return {
                tbFaqList: []
            }
        },
        onReady() {
            const _self = this;
            new TbFaqService().findTbFaqList({
                communityId: _self.globalVariable.userInfo.tbCommunity.id,
            }).then(result => {
                _self.tbFaqList = result;
            });
        },
        methods: {}
    }
</script>

<style lang="scss" scoped>
</style>
